package com.fang.unittest;

import java.io.File;
import java.io.FilenameFilter;

public class MyChoose implements FilenameFilter {

    @Override
    public boolean accept(File dir, String name) {
        if(name.endsWith(".mp3")){
            return true;
        }else {
            return false;
        }
    }
}
